@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap');

.element-to-hide-scrollbar::-webkit-scrollbar {
    width: 0;
    background-color: transparent;
  }
  .element-to-hide-scrollbar::-webkit-scrollbar-thumb {
    background-color: transparent;
  }

.home-parent{
    width: 100%;
    height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgba(17,24,39,1); */
}
.file-input{
    /* height: 50px; */
    border-radius: 50px;
    /* border: 1px solid #0000001a; */
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); */
}
.loading-indicator {
    color: #888;
    font-style: italic;
  }

.chat-response {
    padding: 10px;
    font-family: 'Quicksand', sans-serif;
    width: 80vw;
    height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Scrollbar styling */
.chat-response::-webkit-scrollbar {
    width: 8px;
}

.chat-response::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.chat-response::-webkit-scrollbar-track {
    background: transparent;
}

/* Request (User message) */
.request {
    max-width: 60%;
    padding: 10px;
    word-wrap: break-word;
    background-color:#e8e8e880;
    color: black;
    border-radius: 10px;
    margin: 5px 40% 5px 0; /* Align left */
    align-self: flex-start;
}
.empty{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Response (AI message) */
.response {
    max-width: 60%;
    padding: 5px;
    word-wrap: break-word;
    background-color: #e8e8e880;
    color: black;
    border-radius: 10px;
    margin: 5px 0 5px 40%;
    align-self: flex-end;
}

/* Input message inside request */
.request p {
    margin: 0;
}

/* Output message inside response */
.response .output {
    margin: 0;
}
.input-box{
    display: flex;
    justify-content: center;
}
.input-area{ 
    width: 60vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap : 10px;
    border: 1px solid black;
    border-radius: 20px;
}
.row2{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 5px;
    margin-right: 5px;
}
.chat-input{
    height: 50px;
    display: flex;
}
.image-preview {
    position: absolute;
    bottom:0; /* Adjust this value as needed */
    right: 100; /* Position the preview on the bottom-right corner */
    width: 15%;
    padding: 8px;
    padding-bottom: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .image-preview img {
    width: 200px;
    height: 200px;
    object-fit: contain;
  }
  
  .close-preview {
    position: absolute;
    top: 0; /* Position the close button on the top-right corner of the image */
    right: 0;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    z-index: 1; /* Ensure the close button is above the image */
  }
  
.chat-input input{
    transition: 1s;
    width: 100%;
    height: 50px;
    font-size: larger;
    padding: 2px;
    padding-left: 12px;
    border-radius: 40px;    
    border: none;
    outline: none;
    font-family: 'Quicksand', sans-serif;
}

.send-mic-speek{
    display: flex;
    justify-content: center;
    align-items: center;
}
.send-mic-speek button{
    height: 40px;
    width: 40px;
    transition: 1.5s;
    border-radius: 100%;
    border: 1px solid #00000053;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); */
}
.send-mic-speek button:hover{
    transition: 1.5s;
    background-color: #ff983e;
}